package com.zhora.dto.ai.search;

import java.util.Date;
import java.util.Map;

import com.zhora.db.common.dto.PageBaseDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * ai文档(ai_library_doc)实体类
 *
 * @author zhehen.lu
 * @since 2025-09-15 17:44:18
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(name = "AiLibraryDocSearchDTO", description = "ai文档信息搜索模型")
public class AiLibraryDocSearchDTO extends PageBaseDTO {
    @Schema(description = "ID")
    private Long id;

    /**
     * 知识库ID
     */
    @Schema(description = "知识库ID")
    private Long libId;

    /**
     * 文档名称
     */
    @Schema(description = "文档名称")
    private String name;

    /**
     * 识别ID
     */
    @Schema(description = "识别ID")
    private String identify;


    /**
     * 文档路径
     */
    @Schema(description = "文档路径")
    private String path;

    /**
     * 文档原生json
     */
    @Schema(description = "文档原生json")
    private Map<String, Object> meta;

    /**
     * 是否启用
     */
    @Schema(description = "是否启用")
    private Boolean enable;

    /**
     * 状态[SUCCESS:成功  INDEXING:初始化]
     */
    @Schema(description = "状态[SUCCESS:成功  INDEXING:初始化]")
    private String status;

    /**
     * 删除标记,true:已删除,false:正常
     */
    @Schema(description = "删除标记,true:已删除,false:正常")
    private Boolean delFlag;

    /**
     * 创建人
     */
    @Schema(description = "创建人")
    private String createBy;

    /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    private Date createTime;

    /**
     * 更新人
     */
    @Schema(description = "更新人")
    private String updateBy;

    /**
     * 更新时间
     */
    @Schema(description = "更新时间")
    private Date updateTime;

}

